package com.qqtech.qquan.community.dao;

import java.util.List;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.qquan.community.model.CommunityInfo;
import com.qqtech.qquan.community.model.CommunityInfoQuery;
import com.qqtech.qquan.community.model.CommunityInfoVo;

public interface CommunityInfoDao extends BaseDao<CommunityInfo> {
	/**
	 * 增加点击量
	 * 
	 * @param id
	 * @return
	 */
	int addPv(Integer id);
	/**
	 * 获取含有rownum行号的列表
	 * @param query
	 * @param pageable
	 * @return
	 */
	List<CommunityInfoVo> queryRowNumList(CommunityInfoQuery query);
}
